package wechat.bean.request.menu;

import wechat.util.type.ClientPlatformType;
import wechat.util.type.LanguageType;
import wechat.util.type.SexType;

/**
 * matchrule瀛楁锛屽潎鍙负绌猴紝浣嗕笉鑳藉叏閮ㄤ负绌猴紝鑷冲皯瑕佹湁涓�涓尮閰嶄俊鎭槸涓嶄负绌虹殑銆�
 *  country銆乸rovince銆乧ity缁勬垚鍦板尯淇℃伅锛屽皢鎸夌収country銆乸rovince銆乧ity鐨勯『搴忚繘琛岄獙璇侊紝瑕佺鍚堝湴鍖轰俊鎭〃鐨勫唴瀹广��
 *  鍦板尯淇℃伅浠庡ぇ鍒板皬楠岃瘉锛屽皬鐨勫彲浠ヤ笉濉紝鍗宠嫢濉啓浜嗙渷浠戒俊鎭紝鍒欏浗瀹朵俊鎭篃蹇呭～骞朵笖鍖归厤锛屽煄甯備俊鎭彲浠ヤ笉濉��
 *  渚嬪 鈥滀腑鍥� 骞夸笢鐪� 骞垮窞甯傗�濄�佲�滀腑鍥� 骞夸笢鐪佲�濋兘鏄悎娉曠殑鍦板煙淇℃伅锛岃�屸�滀腑鍥� 骞垮窞甯傗�濆垯涓嶅悎娉曪紝鍥犱负濉啓浜嗗煄甯備俊鎭絾娌℃湁濉啓鐪佷唤淇℃伅
 * 
 *
 */
public class Matchrule {
	private String tag_id; // 鐢ㄦ埛鏍囩鐨刬d锛屽彲閫氳繃鐢ㄦ埛鏍囩绠＄悊鎺ュ彛鑾峰彇
	private String sex; // 鎬у埆锛氱敺锛�1锛夊コ锛�2锛夛紝涓嶅～鍒欎笉鍋氬尮閰�
	private String client_platform_type; // 瀹㈡埛绔増鏈紝褰撳墠鍙叿浣撳埌绯荤粺鍨嬪彿锛欼OS(1),Android(2),Others(3)锛屼笉濉垯涓嶅仛鍖归厤
	private String country;	    //	鍥藉淇℃伅锛屾槸鐢ㄦ埛鍦ㄥ井淇′腑璁剧疆鐨勫湴鍖猴紝鍏蜂綋璇峰弬鑰冨湴鍖轰俊鎭〃
	private String province;	//  鐪佷唤淇℃伅锛屾槸鐢ㄦ埛鍦ㄥ井淇′腑璁剧疆鐨勫湴鍖猴紝鍏蜂綋璇峰弬鑰冨湴鍖轰俊鎭〃
	private String city;        //	鍩庡競淇℃伅锛屾槸鐢ㄦ埛鍦ㄥ井淇′腑璁剧疆鐨勫湴鍖猴紝鍏蜂綋璇峰弬鑰冨湴鍖轰俊鎭〃
	private String language; // 璇█淇℃伅锛屾槸鐢ㄦ埛鍦ㄥ井淇′腑璁剧疆鐨勮瑷�锛屽叿浣撹鍙傝�冭瑷�琛細1銆佺畝浣撲腑鏂� "zh_CN"
								   // 2銆佺箒浣撲腑鏂嘥W "zh_TW" 3銆佺箒浣撲腑鏂嘓K "zh_HK" 4銆佽嫳鏂� "en"
								   // 5銆佸嵃灏� "id" 6銆侀┈鏉� "ms" 7銆佽タ鐝墮 "es" 8銆侀煩鍥� "ko"
								   // 9銆佹剰澶у埄 "it" 10銆佹棩鏈� "ja" 11銆佹尝鍏� "pl" 12銆佽憽钀勭墮 "pt"
								   // 13銆佷縿鍥� "ru" 14銆佹嘲鏂� "th" 15銆佽秺鍗� "vi" 16銆侀樋鎷変集璇� "ar"
								   // 17銆佸寳鍗板害 "hi" 18銆佸笇浼潵 "he" 19銆佸湡鑰冲叾 "tr" 20銆佸痉璇�   "de" 21銆佹硶璇� "fr"
	
	
	public String getTag_id() {
		return tag_id;
	}
	public void setTag_id(String tag_id) {
		this.tag_id = tag_id;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(SexType sex) {
		this.sex = sex.getType();
	}
	public String getClient_platform_type() {
		return client_platform_type;
	}
	public void setClient_platform_type(ClientPlatformType client_platform_type) {
		this.client_platform_type = client_platform_type.getType();
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(LanguageType language) {
		this.language = language.getType();
	}
	
		
}
